<html>
  <head>
    <script type="text/javascript" src="js/chrome_ex_oauthsimple.js"></script>
    <script type="text/javascript" src="js/chrome_ex_oauth.js"></script>
    <script type="text/javascript">   
    
    	var refreshRate = 300; // 5 min
    	var pollIntervalMin = 1000 * refreshRate;
    	
    	var requests = [];
    	var myList = [];

      	var oauth = ChromeExOAuth.initBackgroundPage({
        	'request_url': 'http://api.greatiful.com/api/oauth/request_token/',
        	'authorize_url': 'http://api.greatiful.com/api/oauth/authorize/',
        	'access_url': 'http://api.greatiful.com/api/oauth/access_token/',
        	'consumer_key': '',
        	'consumer_secret': '',    
        	'scope':'http://greatiful.com/api/',
        	'app_name': 'Chromed Crown'
      	});            
     
      
      
		function setBadge(text) {
			if (text) {
				details = {'text':text};
				chrome.browserAction.setBadgeText(details);
			}
		};
	
</script>
  </head>
  <body>
  </body>
</html>